<template>
  <a-layout-footer class="global-footer">
    <div class="footer-content">
      <p class="copyright">
        ZeroCodeGenerator by 
        <a 
          href="https://gitee.com/xugaun/projects" 
          target="_blank" 
          rel="noopener noreferrer"
          class="footer-link"
        >
          PPCH
        </a>
      </p>
    </div>
  </a-layout-footer>
</template>

<script setup lang="ts">
// 这里可以添加任何需要的逻辑
</script>

<style scoped>
.global-footer {
  background-color: #fff;
  text-align: center;
  padding: 10px 0;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.copyright {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.footer-link {
  color: #1890ff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #40a9ff;
  text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .footer-content {
    padding: 0 16px;
  }
  
  .copyright {
    font-size: 12px;
  }
}
</style>